<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Typora+PicGo+Github/Gitee搭建免费稳定的图床 | 눈_눈？</title>
    <meta name="generator" content="VuePress 1.8.2">
    <link rel="icon" href="/favicon.ico">
    <meta name="description" content="雨润三江水,一任五更寒">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    
    <link rel="preload" href="/assets/css/0.styles.39493abb.css" as="style"><link rel="preload" href="/assets/js/app.f4a44a18.js" as="script"><link rel="preload" href="/assets/js/3.48232c0c.js" as="script"><link rel="preload" href="/assets/js/1.1ffd113d.js" as="script"><link rel="preload" href="/assets/js/38.ff825294.js" as="script"><link rel="prefetch" href="/assets/js/10.3ca9dec1.js"><link rel="prefetch" href="/assets/js/11.874c1055.js"><link rel="prefetch" href="/assets/js/12.ba64ad86.js"><link rel="prefetch" href="/assets/js/13.567f7e2c.js"><link rel="prefetch" href="/assets/js/14.a883120b.js"><link rel="prefetch" href="/assets/js/15.f0f48289.js"><link rel="prefetch" href="/assets/js/16.665ca6bd.js"><link rel="prefetch" href="/assets/js/17.9e5d8903.js"><link rel="prefetch" href="/assets/js/18.f72895dc.js"><link rel="prefetch" href="/assets/js/19.2a106cc2.js"><link rel="prefetch" href="/assets/js/20.4c0d7dc8.js"><link rel="prefetch" href="/assets/js/21.6771e3a2.js"><link rel="prefetch" href="/assets/js/22.f3c7aad6.js"><link rel="prefetch" href="/assets/js/23.60529100.js"><link rel="prefetch" href="/assets/js/24.7d50cb5e.js"><link rel="prefetch" href="/assets/js/25.58231492.js"><link rel="prefetch" href="/assets/js/26.3067a077.js"><link rel="prefetch" href="/assets/js/27.b167830e.js"><link rel="prefetch" href="/assets/js/28.f5722284.js"><link rel="prefetch" href="/assets/js/29.62d2e4fe.js"><link rel="prefetch" href="/assets/js/30.c2afa3b0.js"><link rel="prefetch" href="/assets/js/31.d7dde24d.js"><link rel="prefetch" href="/assets/js/32.4e2b272d.js"><link rel="prefetch" href="/assets/js/33.5e4d7960.js"><link rel="prefetch" href="/assets/js/34.8d5624e0.js"><link rel="prefetch" href="/assets/js/35.abd48ffb.js"><link rel="prefetch" href="/assets/js/36.e231ea32.js"><link rel="prefetch" href="/assets/js/37.e99c1b8f.js"><link rel="prefetch" href="/assets/js/39.b3321103.js"><link rel="prefetch" href="/assets/js/4.936c6377.js"><link rel="prefetch" href="/assets/js/40.8e915e21.js"><link rel="prefetch" href="/assets/js/41.9a5c6a3d.js"><link rel="prefetch" href="/assets/js/42.2159b3c3.js"><link rel="prefetch" href="/assets/js/43.144bc67d.js"><link rel="prefetch" href="/assets/js/44.c7b1a0a9.js"><link rel="prefetch" href="/assets/js/45.fafbd061.js"><link rel="prefetch" href="/assets/js/46.dfd415c1.js"><link rel="prefetch" href="/assets/js/47.d6285fa6.js"><link rel="prefetch" href="/assets/js/48.c3c90153.js"><link rel="prefetch" href="/assets/js/49.fa7ab119.js"><link rel="prefetch" href="/assets/js/5.0bd232c4.js"><link rel="prefetch" href="/assets/js/50.6d5fe086.js"><link rel="prefetch" href="/assets/js/51.e0b9a5c9.js"><link rel="prefetch" href="/assets/js/52.39d71cb2.js"><link rel="prefetch" href="/assets/js/53.ad47bc0c.js"><link rel="prefetch" href="/assets/js/54.989d4596.js"><link rel="prefetch" href="/assets/js/55.fea0aaad.js"><link rel="prefetch" href="/assets/js/56.af246d88.js"><link rel="prefetch" href="/assets/js/57.747bce1d.js"><link rel="prefetch" href="/assets/js/58.8d177768.js"><link rel="prefetch" href="/assets/js/59.e97890fd.js"><link rel="prefetch" href="/assets/js/6.8aac6fc8.js"><link rel="prefetch" href="/assets/js/60.114e9ca6.js"><link rel="prefetch" href="/assets/js/7.f1ea8070.js"><link rel="prefetch" href="/assets/js/8.af678f34.js"><link rel="prefetch" href="/assets/js/9.a1b28891.js">
    <link rel="stylesheet" href="/assets/css/0.styles.39493abb.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div><div class="theme-container" data-v-e3b9d544><div data-v-e3b9d544><div id="loader-wrapper" class="loading-wrapper" data-v-1c4f0192 data-v-e3b9d544 data-v-e3b9d544><div class="loader-main" data-v-1c4f0192><div data-v-1c4f0192></div><div data-v-1c4f0192></div><div data-v-1c4f0192></div><div data-v-1c4f0192></div></div> <!----> <!----></div> <div class="password-shadow password-wrapper-out" style="display:none;" data-v-071f7da2 data-v-e3b9d544 data-v-e3b9d544><h3 class="title" style="display:none;" data-v-071f7da2 data-v-071f7da2>눈_눈？</h3> <!----> <label id="box" class="inputBox" style="display:none;" data-v-071f7da2 data-v-071f7da2><input type="password" value="" data-v-071f7da2> <span data-v-071f7da2>Konck! Knock!</span> <button data-v-071f7da2>OK</button></label> <div class="footer" style="display:none;" data-v-071f7da2 data-v-071f7da2><span data-v-071f7da2><i class="iconfont reco-theme" data-v-071f7da2></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-071f7da2>vuePress-theme-reco</a></span> <span data-v-071f7da2><i class="iconfont reco-other" data-v-071f7da2></i> <a data-v-071f7da2>yykrlc</a></span> <span data-v-071f7da2><i class="iconfont reco-copyright" data-v-071f7da2></i> <a data-v-071f7da2>2021</a></span></div></div> <div class="hide" data-v-e3b9d544><header class="navbar" data-v-e3b9d544><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/head.png" alt="눈_눈？" class="logo"> <span class="site-name">눈_눈？</span></a> <div class="links"><div class="color-picker"><a class="color-button"><i class="iconfont reco-color"></i></a> <div class="color-picker-menu" style="display:none;"><div class="mode-options"><h4 class="title">Choose mode</h4> <ul class="color-mode-options"><li class="dark">dark</li><li class="auto active">auto</li><li class="light">light</li></ul></div></div></div> <div class="search-box"><i class="iconfont reco-search"></i> <input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link"><i class="iconfont reco-home"></i>
  首页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      分类
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/categories/朗读/" class="nav-link"><i class="iconfont undefined"></i>
  朗读
</a></li><li class="dropdown-item"><!----> <a href="/categories/工具/" class="nav-link"><i class="iconfont undefined"></i>
  工具
</a></li><li class="dropdown-item"><!----> <a href="/categories/Docker/" class="nav-link"><i class="iconfont undefined"></i>
  Docker
</a></li><li class="dropdown-item"><!----> <a href="/categories/Linux/" class="nav-link"><i class="iconfont undefined"></i>
  Linux
</a></li><li class="dropdown-item"><!----> <a href="/categories/sql/" class="nav-link"><i class="iconfont undefined"></i>
  sql
</a></li><li class="dropdown-item"><!----> <a href="/categories/其他/" class="nav-link"><i class="iconfont undefined"></i>
  其他
</a></li><li class="dropdown-item"><!----> <a href="/categories/Other/" class="nav-link"><i class="iconfont undefined"></i>
  Other
</a></li><li class="dropdown-item"><!----> <a href="/categories/python/" class="nav-link"><i class="iconfont undefined"></i>
  python
</a></li><li class="dropdown-item"><!----> <a href="/categories/Vue/" class="nav-link"><i class="iconfont undefined"></i>
  Vue
</a></li><li class="dropdown-item"><!----> <a href="/categories/Css/" class="nav-link"><i class="iconfont undefined"></i>
  Css
</a></li><li class="dropdown-item"><!----> <a href="/categories/JavaScript/" class="nav-link"><i class="iconfont undefined"></i>
  JavaScript
</a></li><li class="dropdown-item"><!----> <a href="/categories/闲言碎语/" class="nav-link"><i class="iconfont undefined"></i>
  闲言碎语
</a></li></ul></div></div><div class="nav-item"><a href="/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div><div class="nav-item"><a href="/tools/" class="nav-link"><i class="iconfont reco-document"></i>
  收藏
</a></div><div class="nav-item"><a href="/photo/" class="nav-link"><i class="iconfont reco-douyin"></i>
  画廊
</a></div><div class="nav-item"><a href="/friends/" class="nav-link"><i class="iconfont reco-friend"></i>
  关于
</a></div><div class="nav-item"><a href="/timeLine/" class="nav-link"><i class="iconfont reco-date"></i>
  时间轴
</a></div> <!----></nav></div></header> <div class="sidebar-mask" data-v-e3b9d544></div> <aside class="sidebar" data-v-e3b9d544><div class="personal-info-wrapper" data-v-c115f482><img src="/assets/img/home-head.32578f7e.png" alt="hero" class="personal-img" data-v-c115f482> <h3 class="name" data-v-c115f482>yykrlc</h3> <div class="num" data-v-c115f482><div data-v-c115f482><h3 data-v-c115f482>44</h3> <h6 data-v-c115f482>文章</h6></div> <div data-v-c115f482><h3 data-v-c115f482>27</h3> <h6 data-v-c115f482>标签</h6></div></div> <hr data-v-c115f482></div> <nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link"><i class="iconfont reco-home"></i>
  首页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      分类
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/categories/朗读/" class="nav-link"><i class="iconfont undefined"></i>
  朗读
</a></li><li class="dropdown-item"><!----> <a href="/categories/工具/" class="nav-link"><i class="iconfont undefined"></i>
  工具
</a></li><li class="dropdown-item"><!----> <a href="/categories/Docker/" class="nav-link"><i class="iconfont undefined"></i>
  Docker
</a></li><li class="dropdown-item"><!----> <a href="/categories/Linux/" class="nav-link"><i class="iconfont undefined"></i>
  Linux
</a></li><li class="dropdown-item"><!----> <a href="/categories/sql/" class="nav-link"><i class="iconfont undefined"></i>
  sql
</a></li><li class="dropdown-item"><!----> <a href="/categories/其他/" class="nav-link"><i class="iconfont undefined"></i>
  其他
</a></li><li class="dropdown-item"><!----> <a href="/categories/Other/" class="nav-link"><i class="iconfont undefined"></i>
  Other
</a></li><li class="dropdown-item"><!----> <a href="/categories/python/" class="nav-link"><i class="iconfont undefined"></i>
  python
</a></li><li class="dropdown-item"><!----> <a href="/categories/Vue/" class="nav-link"><i class="iconfont undefined"></i>
  Vue
</a></li><li class="dropdown-item"><!----> <a href="/categories/Css/" class="nav-link"><i class="iconfont undefined"></i>
  Css
</a></li><li class="dropdown-item"><!----> <a href="/categories/JavaScript/" class="nav-link"><i class="iconfont undefined"></i>
  JavaScript
</a></li><li class="dropdown-item"><!----> <a href="/categories/闲言碎语/" class="nav-link"><i class="iconfont undefined"></i>
  闲言碎语
</a></li></ul></div></div><div class="nav-item"><a href="/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div><div class="nav-item"><a href="/tools/" class="nav-link"><i class="iconfont reco-document"></i>
  收藏
</a></div><div class="nav-item"><a href="/photo/" class="nav-link"><i class="iconfont reco-douyin"></i>
  画廊
</a></div><div class="nav-item"><a href="/friends/" class="nav-link"><i class="iconfont reco-friend"></i>
  关于
</a></div><div class="nav-item"><a href="/timeLine/" class="nav-link"><i class="iconfont reco-date"></i>
  时间轴
</a></div> <!----></nav>  <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>Typora+PicGo+Github/Gitee搭建免费稳定的图床</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/views/other/typoraPicGo.html#picgo" class="sidebar-link">PicGo</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/views/other/typoraPicGo.html#方式一-github仓库图床" class="sidebar-link">方式一：Github仓库图床</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#新建public-github仓库" class="sidebar-link">新建Public Github仓库</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#新生成一个personal-access-tokens" class="sidebar-link">新生成一个Personal access tokens</a></li></ul></li><li><a href="/views/other/typoraPicGo.html#picgo安装及配置" class="sidebar-link">PicGo安装及配置</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#下载picgo" class="sidebar-link">下载PicGo</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#配置github图床" class="sidebar-link">配置Github图床</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#快捷键及相关配置" class="sidebar-link">快捷键及相关配置</a></li></ul></li><li><a href="/views/other/typoraPicGo.html#方式二-gitee仓库图床" class="sidebar-link">方式二：Gitee仓库图床</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#新建gitee仓库" class="sidebar-link">新建gitee仓库</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#设置个人token" class="sidebar-link">设置个人token</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#设置picgo的gitee插件配置" class="sidebar-link">设置Picgo的gitee插件配置</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#注意啦tips" class="sidebar-link">注意啦Tips</a></li></ul></li><li><a href="/views/other/typoraPicGo.html#typora配置picgo" class="sidebar-link">Typora配置PicGo</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#下载typora" class="sidebar-link">下载Typora</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#_1-配置picgo服务" class="sidebar-link">1.配置PicGo服务</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#_2-设置typora" class="sidebar-link">2.设置Typora</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#设置picgo上传图片的快捷键" class="sidebar-link">设置PicGo上传图片的快捷键</a></li><li class="sidebar-sub-header"><a href="/views/other/typoraPicGo.html#打开typora测试上传图片" class="sidebar-link">打开Typora测试上传图片</a></li></ul></li><li><a href="/views/other/typoraPicGo.html#本文参考" class="sidebar-link">本文参考</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li></ul> </aside> <div class="password-shadow password-wrapper-in" style="display:none;" data-v-071f7da2 data-v-e3b9d544><h3 class="title" style="display:none;" data-v-071f7da2 data-v-071f7da2>Typora+PicGo+Github/Gitee搭建免费稳定的图床</h3> <!----> <label id="box" class="inputBox" style="display:none;" data-v-071f7da2 data-v-071f7da2><input type="password" value="" data-v-071f7da2> <span data-v-071f7da2>Konck! Knock!</span> <button data-v-071f7da2>OK</button></label> <div class="footer" style="display:none;" data-v-071f7da2 data-v-071f7da2><span data-v-071f7da2><i class="iconfont reco-theme" data-v-071f7da2></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-071f7da2>vuePress-theme-reco</a></span> <span data-v-071f7da2><i class="iconfont reco-other" data-v-071f7da2></i> <a data-v-071f7da2>yykrlc</a></span> <span data-v-071f7da2><i class="iconfont reco-copyright" data-v-071f7da2></i> <a data-v-071f7da2>2021</a></span></div></div> <div data-v-e3b9d544><main class="page"><!----> <div class="page-title" style="display:none;"><h1>Typora+PicGo+Github/Gitee搭建免费稳定的图床</h1> <hr> <div data-v-3cf1d7fb><i class="iconfont reco-account" data-v-3cf1d7fb><span data-v-3cf1d7fb>yykrlc</span></i> <i class="iconfont reco-date" data-v-3cf1d7fb><span data-v-3cf1d7fb>2020-04-10</span></i> <i class="iconfont reco-eye" data-v-3cf1d7fb><span id="/views/other/typoraPicGo.html" data-flag-title="Your Article Title" class="leancloud-visitors" data-v-3cf1d7fb><a class="leancloud-visitors-count" style="font-size:.9rem;font-weight:normal;color:#999;"></a></span></i> <i class="iconfont reco-tag tags" data-v-3cf1d7fb><span class="tag-item" data-v-3cf1d7fb>
      github
    </span></i></div></div> <div class="theme-reco-content content__default" style="display:none;"><h2 id="picgo"><a href="#picgo" class="header-anchor">#</a> PicGo</h2> <p>一个用于快速上传图片并获取图片URL链接的工具
<img src="https://upload-images.jianshu.io/upload_images/15668934-3e1f97c2acbc8fae?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""> <img src="https://upload-images.jianshu.io/upload_images/15668934-3822c0240c588257?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">
而这里边，SM.MS和Imgur有免费版也有收费版，腾讯云、七牛、阿里云、又拍云都是收费的，微博图床据说已经挂了，那么，也就剩下GitHub安全、免费又可靠了。
所以我们可以将本地的文件，或者剪切板上截图发送到图床并生成在线图片链接，再贴到我们的博文里，不再占用我们服务器的存储和带宽啦。</p> <p><a href="https://github.com/Molunerfinn/PicGo" target="_blank" rel="noopener noreferrer">PicGo Github仓库地址<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="方式一-github仓库图床"><a href="#方式一-github仓库图床" class="header-anchor">#</a> 方式一：Github仓库图床</h2> <h3 id="新建public-github仓库"><a href="#新建public-github仓库" class="header-anchor">#</a> 新建Public Github仓库</h3> <p>创建Repository
点击&quot;New repository&quot;按钮，仓库名字随意
<img src="https://upload-images.jianshu.io/upload_images/15668934-869a8ef693e14311?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <h3 id="新生成一个personal-access-tokens"><a href="#新生成一个personal-access-tokens" class="header-anchor">#</a> 新生成一个Personal access tokens</h3> <p>生成一个Token用于操作GitHub repository
<code>Settings --&gt; Developer Settings --&gt; Personal access tokens</code> <img src="https://upload-images.jianshu.io/upload_images/15668934-9db3c222b3a1d930?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-7f977713e4bdddca?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">
勾选repo权限,填写描述然后点击&quot;Generate token&quot;按钮
<img src="https://upload-images.jianshu.io/upload_images/15668934-03bb4ac62dfb9b18?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">
生成Token
<img src="https://upload-images.jianshu.io/upload_images/15668934-3dda33668da300cc?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">
会生成如上图的一串token，这串token之后不会再显示，所以第一次看到的时候，可以建个文本文件保存，忘记了只有重新生成，每次都不一样。</p> <hr> <h2 id="picgo安装及配置"><a href="#picgo安装及配置" class="header-anchor">#</a> PicGo安装及配置</h2> <h3 id="下载picgo"><a href="#下载picgo" class="header-anchor">#</a> 下载PicGo</h3> <p>Github下载太慢，这里提供<a href="https://www.lanzous.com/b04abbw8h" target="_blank" rel="noopener noreferrer">蓝奏云文件下载地址<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h3 id="配置github图床"><a href="#配置github图床" class="header-anchor">#</a> 配置Github图床</h3> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-ff5e3cd12e25ea6c?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <h4 id="填写说明"><a href="#填写说明" class="header-anchor">#</a> <em>填写说明</em></h4> <blockquote><ul><li>第一行设定仓库名按照“账户名/仓库名的格式填写”，比如我的是：<code>DuebassLei/PicGoPictureBed</code></li> <li>第二行分支名统一填写<code>master</code></li> <li>第三行将之前的<code>Token</code>粘贴在这里</li> <li>第四行留空</li> <li>第五行自定义域名的作用是在上传图片后成功后，<code>PicGo</code>会将“自定义域名+上传的图片名”生成的访问链接，放到剪切板上，自定义域名需要按照这样去填写：<code>https://raw.githubusercontent.com/账户名/仓库名/master</code>，比如我的是：<code>https://raw.githubusercontent.com/DuebassLei/PicGoPictureBed/master</code></li></ul></blockquote> <h3 id="快捷键及相关配置"><a href="#快捷键及相关配置" class="header-anchor">#</a> 快捷键及相关配置</h3> <p>支持快捷键command+shift+p（macOS）或者control+shift+p（windows\linux）用以支持快捷上传剪贴板里的图片（第一张）。
PicGo支持自定义快捷键，使用方法见配置手册。
注：可以将快捷键设置为ctrl+shift+c</p> <p><em><strong>Tips</strong></em>
将上面的步骤都设置好，每次截图之后，都可以按一下ctrl+shift+c，这样就会将剪切板上面的截图转化为在线网络图片链接，简直就是爽的不要不要的，关键是背靠 GitHub 和微软，比自建服务器都稳！</p> <hr> <h2 id="方式二-gitee仓库图床"><a href="#方式二-gitee仓库图床" class="header-anchor">#</a> 方式二：Gitee仓库图床</h2> <h3 id="新建gitee仓库"><a href="#新建gitee仓库" class="header-anchor">#</a> 新建gitee仓库</h3> <p>在gitee新建一个公开的资源仓库
<img src="https://upload-images.jianshu.io/upload_images/15668934-38ec621c50afcc07?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <h3 id="设置个人token"><a href="#设置个人token" class="header-anchor">#</a> 设置个人token</h3> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-8174b3dbe7bde1da?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""> <img src="https://upload-images.jianshu.io/upload_images/15668934-c15ae015771c1c7f?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <h3 id="设置picgo的gitee插件配置"><a href="#设置picgo的gitee插件配置" class="header-anchor">#</a> 设置Picgo的gitee插件配置</h3> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-785ed53f2202e8f8?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""> <em>Tips:</em>
会生成如上图的一串token，这串token之后不会再显示，所以第一次看到的时候，可以建个文本文件保存，忘记了只有重新生成，每次都不一样。
上传成功测试图片url：</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>https://gitee.com/DuebassLei/PicGoPictureBed/raw/master/static/animation.JPG
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><img src="https://upload-images.jianshu.io/upload_images/15668934-a574a8f734c16d53?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">
Gitee图床成功配置啦，国内访问超级快，比Github快N倍，写文档图床就用它啦！</p> <h3 id="注意啦tips"><a href="#注意啦tips" class="header-anchor">#</a> 注意啦Tips</h3> <blockquote><p><em><strong>接下来在Typora中配置PicGo更愉快的写作。</strong></em></p></blockquote> <h2 id="typora配置picgo"><a href="#typora配置picgo" class="header-anchor">#</a> Typora配置PicGo</h2> <h3 id="下载typora"><a href="#下载typora" class="header-anchor">#</a> 下载Typora</h3> <p><a href="https://www.typora.io/" target="_blank" rel="noopener noreferrer">最新版下载<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h3 id="_1-配置picgo服务"><a href="#_1-配置picgo服务" class="header-anchor">#</a> 1.配置PicGo服务</h3> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-f6818a964462618b?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""> <img src="https://upload-images.jianshu.io/upload_images/15668934-31097de0613e5ccc?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <h3 id="_2-设置typora"><a href="#_2-设置typora" class="header-anchor">#</a> 2.设置Typora</h3> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-cfc24b5dce90da8f?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="">
验证设置是否正确
<img src="https://upload-images.jianshu.io/upload_images/15668934-12785de41069c228?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""> <img src="https://upload-images.jianshu.io/upload_images/15668934-6b94fe32050f47de?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <p>好，到这里已经就成功将<code>Github/Gitee仓库+PicGo+Typora</code>设置好了，可以正常使用图床了写作了，不用在因为插入图片而烦恼，主要还免费&gt;_&lt;。</p> <h3 id="设置picgo上传图片的快捷键"><a href="#设置picgo上传图片的快捷键" class="header-anchor">#</a> 设置PicGo上传图片的快捷键</h3> <p><img src="https://upload-images.jianshu.io/upload_images/15668934-74a0a5cb12b7e327?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p> <h3 id="打开typora测试上传图片"><a href="#打开typora测试上传图片" class="header-anchor">#</a> 打开Typora测试上传图片</h3> <p>用截图工具如<code>QQ</code>的<code>Ctrl+ALT+A</code>快捷键对需要的区域截图，存储到剪贴板中，然后按下刚才在<code>picgo</code>设置好的上传快捷键<code>Ctrl+Shift+P</code>组合键上传到<code>Gitee</code>，会返回图片的上传地址到剪贴板中，最后在<code>typora</code>中<code>ctrl+v</code>粘贴。</p> <h2 id="本文参考"><a href="#本文参考" class="header-anchor">#</a> 本文参考</h2> <p><a href="https://www.dazhuanlan.com/2019/10/05/5d987ea746d27" target="_blank" rel="noopener noreferrer">Typora和PicGo使用<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p><a href="https://picgo.github.io/PicGo-Doc/zh/" target="_blank" rel="noopener noreferrer">PicGo官方中文文档<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p><a href="https://blog.csdn.net/bruce_6/article/details/104821531" target="_blank" rel="noopener noreferrer">Typora+PicGo，最好用的Markdown+最好用的图床工具<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p></div> <footer class="page-edit" style="display:none;"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">6/29/2020, 3:45:05 PM</span></div></footer> <!----> <!----></main> <!----> <div class="comments-wrapper" data-v-e3b9d544><div class="valine-wrapper"><div id="valine"></div></div></div></div></div></div></div></div><div class="global-ui"><div class="back-to-ceiling" style="right:1rem;bottom:6rem;width:2.5rem;height:2.5rem;border-radius:.25rem;line-height:2.5rem;background-color:rgba(231, 234, 241,.5);display:none;" data-v-44bd5a18 data-v-44bd5a18><svg t="1574745035067" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5404" class="icon" data-v-44bd5a18><path d="M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z" p-id="5405" data-v-44bd5a18></path><path d="M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z" p-id="5406" data-v-44bd5a18></path></svg></div><div data-v-932dc3c2></div></div></div>
    <script src="/assets/js/app.f4a44a18.js" defer></script><script src="/assets/js/3.48232c0c.js" defer></script><script src="/assets/js/1.1ffd113d.js" defer></script><script src="/assets/js/38.ff825294.js" defer></script>
  </body>
</html>
